import requests

from business.base import Base
from common.address import AccountUrl


class Account(Base):
    def account_login(self):
        body = {
            "account": "13345875364",
            "password": "1qaz1qaz",
            "client": 5
        }
        return self.send_requests(method='post',url=AccountUrl.AccountLoginUrl,json=body)

if __name__ == '__main__':
    print(Account().account_login())
        # self.send_account()
        # response = requests.post(url, headers=headers, json=body)
        # # 查看状态码，常用
        # code = response.status_code
        # # 查看响应体
        # res_body = response.json()
        # return code, res_body




